package com.scx.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.scx.dto.ChartQueryRequest;
import com.scx.entity.Chart;

public interface ChartService extends IService<Chart> {

    /**
     * 获取查询包装类
     * @param chartQueryRequest
     * @return
     */
    Wrapper<Chart> getQueryWrapper(ChartQueryRequest chartQueryRequest);

    /**
     * 异常处理
     * @param chartId
     * @param execMessage
     */
    void handleChartUpdateError(Long chartId, String execMessage);
}
